﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace ReSearcher
{
    class FindResult
    {
        public FindResult()
        {
        }

        public FindResult(string file, string match, int position, int length)
        {
            File = file;
            Match = match;
            Position = position;
            Length = length;
        }
        
        [ReadOnly(true)]
        [DefaultValue(null)]
        public string File { get; set; }

        [ReadOnly(true)]
        [DefaultValue(null)]
        public string Match { get; set; }

        [ReadOnly(true)]
        [DefaultValue(-1)]
        public int Position { get; set; }

        [ReadOnly(true)]
        [DefaultValue(-1)]
        public int Length { get; set; }
    }
}
